package com.hiyee.pojo.repo;

import com.hiyee.pojo.BasePojo;

import java.math.BigDecimal;

/**
 * 购物车明细数据
 *
 * @author WangBin
 */
public class CartItemRepo extends BasePojo {
    private Long item_id;
    private Long goods_id;
    private Long product_id;
    private String name;
    private Integer qty_ordered;
    private BigDecimal price;
    private String unit;
    private BigDecimal total_amount;
    private Integer is_selected;
    private String specs;
    private String image_url;
    private Integer is_gift;
    private BigDecimal weight;
    private String created_at;
    private String updated_at;

    public Long getItemId() {
        return item_id;
    }

    public void setItemId(Long itemId) {
        this.item_id = itemId;
    }

    public Long getGoodsId() {
        return goods_id;
    }

    public void setGoodsId(Long goodsId) {
        this.goods_id = goodsId;
    }

    public Long getProductId() {
        return product_id;
    }

    public void setProductId(Long productId) {
        this.product_id = productId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getQtyOrdered() {
        return qty_ordered;
    }

    public void setQtyOrdered(Integer qtyOrdered) {
        this.qty_ordered = qtyOrdered;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public BigDecimal getTotalAmount() {
        return total_amount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.total_amount = totalAmount;
    }

    public Integer getIsSelected() {
        return is_selected;
    }

    public void setIsSelected(Integer selected) {
        this.is_selected = selected;
    }

    public String getSpecs() {
        return specs;
    }

    public void setSpecs(String specs) {
        this.specs = specs;
    }

    public String getImageUrl() {
        return image_url;
    }

    public void setImageUrl(String imageUrl) {
        this.image_url = imageUrl;
    }

    public Integer getIsGift() {
        return is_gift;
    }

    public void setIsGift(Integer gift) {
        this.is_gift = gift;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public String getCreatedAt() {
        return created_at;
    }

    public void setCreatedAt(String createdAt) {
        this.created_at = createdAt;
    }

    public String getUpdatedAt() {
        return updated_at;
    }

    public void setUpdatedAt(String updatedAt) {
        this.updated_at = updatedAt;
    }
}
